#!/usr/bin/python
# coding=utf-8
import commands

def active_memcached():
	cmd_str = "/usr/bin/memcached -d -l 127.0.0.1 -p 11211 -m 150 -u root"
	print(cmd_str)
	(status, output) = commands.getstatusoutput(cmd_str)
	print(status)

if __name__ == '__main__':
	active_memcached()
